package com.agrimall.entity;

import lombok.Data;
import java.util.Date;

/**
 * 咨询实体类
 */
@Data
public class Consultation {
    private Long consultationId;
    private Long productId;
    private Long userId;
    private Long merchantId;
    private String question;
    private String answer;
    private Integer status; // 0-待回复，1-已回复
    private Date createTime;
    private Date replyTime;
    
    // 关联数据
    private User user;
    private Product product;
}



